package com.xcdh.trading.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xcdh.trading.entity.DayTransactionData;
import com.xcdh.trading.entity.StockInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DayTransactionDataMapper extends BaseMapper<DayTransactionData> {

    public List<DayTransactionData> summaryTrData(String dataCode) ;

    IPage<DayTransactionData> listByPage(@Param("page")Page<DayTransactionData> pageDto,
                                         @Param("ew")QueryWrapper<DayTransactionData> queryWrapper
    );

    IPage<DayTransactionData> xGuList(@Param("page")Page<DayTransactionData> pageDto,
                                         @Param("ew")QueryWrapper<DayTransactionData> queryWrapper
    );
}
